home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / sregexpf / sgregexp.h < prev    next >
C/C++ Source or Header  |  1998-08-09  |  27KB  |  825 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.03.0110 */
  5. /* at Mon Aug 10 11:48:52 1998
  6.  */
  7. /* Compiler settings for sgRegExp.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12.  
  13.  
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18.  
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21.  
  22. #ifndef __RPCNDR_H_VERSION__
  23. #error this stub requires an updated version of <rpcndr.h>
  24. #endif // __RPCNDR_H_VERSION__
  25.  
  26. #ifndef COM_NO_WINDOWS_H
  27. #include "windows.h"
  28. #include "ole2.h"
  29. #endif /*COM_NO_WINDOWS_H*/
  30.  
  31. #ifndef __sgRegExp_h__
  32. #define __sgRegExp_h__
  33.  
  34. #ifdef __cplusplus
  35. extern "C"{
  36. #endif 
  37.  
  38. /* Forward Declarations */ 
  39.  
  40. #ifndef __ISubstring_FWD_DEFINED__
  41. #define __ISubstring_FWD_DEFINED__
  42. typedef interface ISubstring ISubstring;
  43. #endif     /* __ISubstring_FWD_DEFINED__ */
  44.  
  45.  
  46. #ifndef __ISubstrings_FWD_DEFINED__
  47. #define __ISubstrings_FWD_DEFINED__
  48. typedef interface ISubstrings ISubstrings;
  49. #endif     /* __ISubstrings_FWD_DEFINED__ */
  50.  
  51.  
  52. #ifndef __IsgRegExp_FWD_DEFINED__
  53. #define __IsgRegExp_FWD_DEFINED__
  54. typedef interface IsgRegExp IsgRegExp;
  55. #endif     /* __IsgRegExp_FWD_DEFINED__ */
  56.  
  57.  
  58. #ifndef __RegExp_FWD_DEFINED__
  59. #define __RegExp_FWD_DEFINED__
  60.  
  61. #ifdef __cplusplus
  62. typedef class RegExp RegExp;
  63. #else
  64. typedef struct RegExp RegExp;
  65. #endif /* __cplusplus */
  66.  
  67. #endif     /* __RegExp_FWD_DEFINED__ */
  68.  
  69.  
  70. #ifndef __Substring_FWD_DEFINED__
  71. #define __Substring_FWD_DEFINED__
  72.  
  73. #ifdef __cplusplus
  74. typedef class Substring Substring;
  75. #else
  76. typedef struct Substring Substring;
  77. #endif /* __cplusplus */
  78.  
  79. #endif     /* __Substring_FWD_DEFINED__ */
  80.  
  81.  
  82. #ifndef __Substrings_FWD_DEFINED__
  83. #define __Substrings_FWD_DEFINED__
  84.  
  85. #ifdef __cplusplus
  86. typedef class Substrings Substrings;
  87. #else
  88. typedef struct Substrings Substrings;
  89. #endif /* __cplusplus */
  90.  
  91. #endif     /* __Substrings_FWD_DEFINED__ */
  92.  
  93.  
  94. /* header files for imported files */
  95. #include "oaidl.h"
  96. #include "ocidl.h"
  97.  
  98. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  99. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  100.  
  101. #ifndef __ISubstring_INTERFACE_DEFINED__
  102. #define __ISubstring_INTERFACE_DEFINED__
  103.  
  104. /****************************************
  105.  * Generated header for interface: ISubstring
  106.  * at Mon Aug 10 11:48:52 1998
  107.  * using MIDL 3.03.0110
  108.  ****************************************/
  109. /* [unique][helpstring][dual][uuid][object] */ 
  110.  
  111.  
  112.  
  113. EXTERN_C const IID IID_ISubstring;
  114.  
  115. #if defined(__cplusplus) && !defined(CINTERFACE)
  116.     
  117.     MIDL_INTERFACE("CC7B6646-DF3B-11D1-AAC0-00C0DF4A4D6C")
  118.     ISubstring : public IDispatch
  119.     {
  120.     public:
  121.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value( 
  122.             /* [retval][out] */ BSTR __RPC_FAR *res) = 0;
  123.         
  124.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Start( 
  125.             /* [retval][out] */ long __RPC_FAR *res) = 0;
  126.         
  127.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Length( 
  128.             /* [retval][out] */ long __RPC_FAR *res) = 0;
  129.         
  130.     };
  131.     
  132. #else     /* C style interface */
  133.  
  134.     typedef struct ISubstringVtbl
  135.     {
  136.         BEGIN_INTERFACE
  137.         
  138.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  139.             ISubstring __RPC_FAR * This,
  140.             /* [in] */ REFIID riid,
  141.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  142.         
  143.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  144.             ISubstring __RPC_FAR * This);
  145.         
  146.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  147.             ISubstring __RPC_FAR * This);
  148.         
  149.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  150.             ISubstring __RPC_FAR * This,
  151.             /* [out] */ UINT __RPC_FAR *pctinfo);
  152.         
  153.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  154.             ISubstring __RPC_FAR * This,
  155.             /* [in] */ UINT iTInfo,
  156.             /* [in] */ LCID lcid,
  157.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  158.         
  159.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  160.             ISubstring __RPC_FAR * This,
  161.             /* [in] */ REFIID riid,
  162.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  163.             /* [in] */ UINT cNames,
  164.             /* [in] */ LCID lcid,
  165.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  166.         
  167.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  168.             ISubstring __RPC_FAR * This,
  169.             /* [in] */ DISPID dispIdMember,
  170.             /* [in] */ REFIID riid,
  171.             /* [in] */ LCID lcid,
  172.             /* [in] */ WORD wFlags,
  173.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  174.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  175.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  176.             /* [out] */ UINT __RPC_FAR *puArgErr);
  177.         
  178.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Value )( 
  179.             ISubstring __RPC_FAR * This,
  180.             /* [retval][out] */ BSTR __RPC_FAR *res);
  181.         
  182.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Start )( 
  183.             ISubstring __RPC_FAR * This,
  184.             /* [retval][out] */ long __RPC_FAR *res);
  185.         
  186.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Length )( 
  187.             ISubstring __RPC_FAR * This,
  188.             /* [retval][out] */ long __RPC_FAR *res);
  189.         
  190.         END_INTERFACE
  191.     } ISubstringVtbl;
  192.  
  193.     interface ISubstring
  194.     {
  195.         CONST_VTBL struct ISubstringVtbl __RPC_FAR *lpVtbl;
  196.     };
  197.  
  198.     
  199.  
  200. #ifdef COBJMACROS
  201.  
  202.  
  203. #define ISubstring_QueryInterface(This,riid,ppvObject)    \
  204.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  205.  
  206. #define ISubstring_AddRef(This)    \
  207.     (This)->lpVtbl -> AddRef(This)
  208.  
  209. #define ISubstring_Release(This)    \
  210.     (This)->lpVtbl -> Release(This)
  211.  
  212.  
  213. #define ISubstring_GetTypeInfoCount(This,pctinfo)    \
  214.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  215.  
  216. #define ISubstring_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  217.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  218.  
  219. #define ISubstring_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  220.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  221.  
  222. #define ISubstring_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  223.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  224.  
  225.  
  226. #define ISubstring_get_Value(This,res)    \
  227.     (This)->lpVtbl -> get_Value(This,res)
  228.  
  229. #define ISubstring_get_Start(This,res)    \
  230.     (This)->lpVtbl -> get_Start(This,res)
  231.  
  232. #define ISubstring_get_Length(This,res)    \
  233.     (This)->lpVtbl -> get_Length(This,res)
  234.  
  235. #endif /* COBJMACROS */
  236.  
  237.  
  238. #endif     /* C style interface */
  239.  
  240.  
  241.  
  242. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISubstring_get_Value_Proxy( 
  243.     ISubstring __RPC_FAR * This,
  244.     /* [retval][out] */ BSTR __RPC_FAR *res);
  245.  
  246.  
  247. void __RPC_STUB ISubstring_get_Value_Stub(
  248.     IRpcStubBuffer *This,
  249.     IRpcChannelBuffer *_pRpcChannelBuffer,
  250.     PRPC_MESSAGE _pRpcMessage,
  251.     DWORD *_pdwStubPhase);
  252.  
  253.  
  254. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISubstring_get_Start_Proxy( 
  255.     ISubstring __RPC_FAR * This,
  256.     /* [retval][out] */ long __RPC_FAR *res);
  257.  
  258.  
  259. void __RPC_STUB ISubstring_get_Start_Stub(
  260.     IRpcStubBuffer *This,
  261.     IRpcChannelBuffer *_pRpcChannelBuffer,
  262.     PRPC_MESSAGE _pRpcMessage,
  263.     DWORD *_pdwStubPhase);
  264.  
  265.  
  266. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISubstring_get_Length_Proxy( 
  267.     ISubstring __RPC_FAR * This,
  268.     /* [retval][out] */ long __RPC_FAR *res);
  269.  
  270.  
  271. void __RPC_STUB ISubstring_get_Length_Stub(
  272.     IRpcStubBuffer *This,
  273.     IRpcChannelBuffer *_pRpcChannelBuffer,
  274.     PRPC_MESSAGE _pRpcMessage,
  275.     DWORD *